<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="com.proj.*" %>
<%@page import="java.util.*" %>
<%@page import="com.dao.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="oa/Css/R-maintenance.css" />
<title>Insert title here</title>
</head>
<body>
		<form action="">
			<input class="add" type="button" value="新增角色"/><br/>
		</form>
		<div class="table">
			<table border="1" width="700" height="200">
				<tr>
					<td>角色名称</td>
					<td>描述</td>
					<td>操作</td>
				</tr>
				<%
			       List<User> list = (List<User>)request.getAttribute("list");
			       for(User u:list){%>
				     <tr>
			            <td><%=u.getA_id() %></td>
			            <td><%=u.getA_pwd()%></td>
			            <td>
			            	<%-- <button class="btn btn-danger btn-xs btn-primary"><i class="fa fa-trash-o "></i> 
			            			<a href="UserServlet?type=delUserById&id=<%=u.getU_id() %>" style="color:#ffffff;">删除</a>
			       			</button>     --%>        	
			                <%-- <button type="button" class="btn btn-success "  style="float:right">
			                		<a href="UserServlet?type=addUserById&aid=<%=u.getU_id() %>" style="color:#ffffff;">新增</a>
			           		</button>  --%>        
			            </td>
			        </tr>
			        <%} %>
				<tr>
					<td></td>
					<td></td>
					<td><a href="">删除 </a>  
						<a href="R-update.jsp">修改 </a>  
						<a href="R-accredit.jsp">授权 </a>
						<a href="R-manage.jsp">管理成员 </a>
					</td>
				</tr>
				<tr>
					<td></td>
					<td></td>
					<td><a href="">删除 </a>  
						<a href="R-update.jsp">修改 </a>  
						<a href="R-accredit.jsp">授权 </a>
						<a href="R-manage.jsp">管理成员 </a>
					</td>
				</tr>
				
			</table>
		</div>
</body>
</html>